package com.yfl.logistics.pojo;

import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

//自定义分页对象
public class PageObject {

    private Long total;
    private List<Object> rows;

    public PageObject(IPage<Object> iPage) {
        this.total = iPage.getTotal();
        this.rows = iPage.getRecords();
    }
}
